//
//  EmoticionAttachment.swift
//  模拟键盘
//
//  Created by apple on 15/12/18.
//  Copyright © 2015年 idcast. All rights reserved.
//

import UIKit

/// 表情附件
class EmoticonAttachment: NSTextAttachment {
    
    /// 表情模型
    var emoticon: Emoticon
    
    init(emoticon: Emoticon) {
        self.emoticon = emoticon
        
        super.init(data: nil, ofType: nil)
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}
